﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCTinTuc.ascx.cs" Inherits="Web.giaovien.UCTinTuc" %>
<style type="text/css">
    .style1
    {
        width: 100%;
    }
</style>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
    BackColor="White" BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" 
    CellPadding="4" DataKeyNames="MaTB" GridLines="Horizontal" Width="100%" 
    onpageindexchanging="GridView1_PageIndexChanging">
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
                <table class="style1">
                    <tr>
                        <td>
                            Thông báo&nbsp; :&nbsp;
                            <asp:Label ID="Label3" runat="server" Text='<%# Eval("TieuDe") %>'></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("NoiDung") %>'></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Ngày
                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("NgayTao") %>'></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    <FooterStyle BackColor="White" ForeColor="#333333" />
    <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
    <RowStyle BackColor="White" ForeColor="#333333" HorizontalAlign="Center" />
    <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
    <SortedAscendingCellStyle BackColor="#F7F7F7" />
    <SortedAscendingHeaderStyle BackColor="#487575" />
    <SortedDescendingCellStyle BackColor="#E5E5E5" />
    <SortedDescendingHeaderStyle BackColor="#275353" />
</asp:GridView>

